package com.tianyiyan.hibernate.user;

import java.util.Date;

public class User
{
	private Integer id;
	private String name;
	private String email;
	/// @brief Password
	private String passwd;
	/// @brief Sign up time
	private Date createDate;
	/// @brief Has email verification
	private Boolean hasVerification;
	
	public User()
	{
		super();
		hasVerification = false;
	}
	public Integer getId() {
		return id;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", email=" + email
				+ ", passwd=" + passwd + ", createData=" + createDate
				+ ", hasVerification=" + hasVerification + "]";
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Boolean getHasVerification() {
		return hasVerification;
	}
	public void setHasVerification(Boolean hasVerification) {
		this.hasVerification = hasVerification;
	}
}
